package com.itheima.d5_enum;

public enum A {
    //枚举第一行必须是枚举常量
    X,Y,Z;
    private String name;

    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }
}
